package com.cynteka.cyfoman.core.collection;

/**
 * User: Sergey
 * Date: 03.08.11
 * Time: 17:00
 */
public class MemoryCollectionAppender implements IRegistryAppender {

    private String collectionId;

    public String getCollectionId() {
        return collectionId;
    }

    public void setCollectionId(String collectionId) {
        this.collectionId = collectionId;
    }

    @Override
    public ICollection[] getCollections() {
        return new ICollection[]{new MemoryCollection(collectionId)};
    }

    @Override
    public ILink[] getLinks() {
        return new ILink[0];
    }
}
